package com.hoyue.interact.dao;

import com.hoyue.interact.bean.Comment;
import org.apache.ibatis.annotations.Param;

public interface CommentMapper {

    /**
     * 用户评论话题
     */
    int insertComment(Comment comment);

    Comment getComment(Integer id);

    /**
     * 删除评论
     */
    int delComment(@Param(value = "commentId") Integer commentId);
}